package com.huaxin.device.dto.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ElectricalEquipmentSetMaintenanceReqDTO {
    @Schema(description = "设备ID")
    private List<String> equipmentIds;

    @Schema(description = "上次保养时间", example = "2021-01-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime lastMaintenanceDate;

    @Schema(description = "下次保养时间", example = "2021-02-01 00:00:00")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime nextMaintenanceDate;

}